<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div class="easyui-layout" fit="true">
	<div data-options="region:'center'" style="border: 0">
		<h1>
			<input type="hidden" value="${ct.id}"> <a id="returnmark"
				href="#"><img class="imglog" alt="" src="public/images/back.png">&nbsp;${ct.cla[0].className}-${ct.name}</a>
			<input type="hidden" value="${ct.cla[0].id}">
		</h1>
		<fieldset class="fs">
			<legend>基本信息</legend>
				<div class="exam_info">
					<span style="font-size: 40px;">${jds.allScore}</span>
				</div>
				<div class="exam_info">【试卷名称】：TR09-${ct.name}</div>
				<div class="exam_info">【出卷人】： ${ct.emp.name}</div>
				<div class="exam_info">【有效时间】：
				<div class="exam_info" style="padding-left: 20px;height: 18px;">
   					<span class="two" >
		   					<input type="hidden" id="work_id"  value="${ct.id}">
		   					<input id="extend" class="easyui-numberspinner" style="width:80px;" value="2" data-options="min:-100,max:100,editable:true"> 天(负数提前)
		   					<a id="qing_btn_sh"  href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add'" >延长</a>
		   			</span>
   					${ct.cla[0].className}：${ct.startTime} - ${ct.endTime}
   					</div>
				</div>
				<div class="exam_info">【选择题数】：${ct.chooseCount}道题</div>
				<div class="exam_info">【判断题数】：${ct.opinionCount}道题</div>
				<div class="exam_info">【编程与简答题数】：${ct.programCount}道题</div>
				<div class="exam_info">【学习阶段】： ${zj.dagang.name}</div>
				<div class="exam_info">【章节】： 《${zj.name}》</div>
				<div class="exam_info">
					【派发部门】：
					<c:forEach items="${ct.cla}" var="c">
	   				${c.className}
	   			</c:forEach>

				</div>
				<div class="exam_info">【说明】：${empty ct.remark ? '无' : ct.remark}</div>
		</fieldset>
		<div>
			<input type="hidden" id="zjid" value="${zj.id}" />
			<fieldset
				style="border: none; width: 96%; margin-top: 10px; margin-left: 20px;">
				<legend style="font-weight: bold; padding-bottom: 10px;">选择题(共${choice.size()}题)</legend>
				<ol type="1" class="borderw" style="padding-left: 40px;">
					<c:forEach items="${choice}" var="c" varStatus="states">
						<li class="li_question">
							<div class="question_title">
								<a name="m1470"></a>
								${states.index+1}、${c.title}(选${c.answer.length()}项) <span
									class="correct_answer">${c.answer}</span>
							</div>
							<ol type="A">
								<li>A、${c.optionA}</li>
								<li>B、${c.optionB}</li>
								<li>C、${c.optionC}</li>
								<li>D、${c.optionD}</li>
							</ol>
						</li>
					</c:forEach>
				</ol>
			</fieldset>
			<fieldset
				style="border: none; width: 96%; margin-top: 10px; margin-left: 20px;">
				<legend style="font-weight: bold; padding-bottom: 10px;"">判断题(共${option.size()}题)</legend>
				<ol type="1" class="borderw" style="padding-left: 40px;">
					<c:forEach items="${option}" var="o" varStatus="states">
						<li class="li_question">
							<div class="question_title">
								${states.index+1}、${o.title}<span class="correct_answer">${o.answer}</span>
							</div>
						</li>
					</c:forEach>
				</ol>
			</fieldset>
			<fieldset
				style="border: none; width: 96%; margin-top: 10px; margin-left: 20px;">
				<legend style="font-weight: bold; padding-bottom: 10px;"">编程题(共${program.size()}题)</legend>
				<ol type="1" class="borderw" style="padding-left: 40px;">
					<c:forEach items="${program}" var="p" varStatus="states">
						<li class="li_question">
							<div class="question_title">
								<a name="m648"></a> ${states.index+1}、${p.title}
							</div>
						</li>
					</c:forEach>
				</ol>
			</fieldset>
		</div>
	</div>
</div>
<script type="text/javascript" src="public/js/marking_homework.js"></script>

